set the color of the background directly with the class attribute